module.exports = {
  USER_FORMATE_ERROR: {
    code: "10001",
    msg: "用户名或密码为空",
    data: null,
  },
  UESRNAME_ALREADY_EXISTS: {
    code: "10002",
    msg: "用户名已经存在",
    data: null,
  },
  USER_REGISTER_ERROR: {
    code: "10003",
    msg: "用户注册错误",
    data: null,
  },
  USER_DOES_NOT_EXIST: {
    code: "10004",
    msg: "用户不存在",
    data: null,
  },
  USER_LOGIN_ERROE: {
    code: "10005",
    msg: "用户登录失败",
    data: null,
  },
  INVALID_PASSWORD: {
    code: "10006",
    msg: "密码不匹配",
    data: null,
  },
  PASSWORD_ABNORMALITY: {
    code: "10007",
    msg: "密码异常",
    data: null,
  },
  PASSWORD_MODIFICATION_FAILED: {
    code: "10008",
    msg: "修改密码失败",
    data: null,
  },
  TOKEN_EXPIRED_ERROR:{
    code: "10101",
    msg: "token已过期",
    data: null,
  },
  INVALID_TOKEN:{
    code: "10102",
    msg: "无效的token",
    data: null,
  },
  HAS_NOT_ADMIN_PERMISSION:{
    code: "10103",
    msg: "没有管理员权限",
    data: null,
  },
  FILE_UPLOAD_ERROE:{
    code: "10201",
    msg: "上传失败",
    data: null,
  },
  NUMBER_FORMAT_ERROE:{
    code: "10301",
    msg: "号码参数格式错误",
    data: null,
  },
  NUMBER_ALREADY_EXISTS:{
    code: "10302",
    msg: "号码名称已存在",
    data: null,
  },
  NUMBER_CREATE_ERROE:{
    code: "10303",
    msg: "创建号码失败",
    data: null,
  },
  NUMBER_ID_NOT_PRESENT:{
    code: "10304",
    msg: "号码ID不存在",
    data: null,
  },
  NUMBER_QUERY_EXCEPTION:{
    code: "10305",
    msg: "号码查询异常",
    data: null,
  },
  NUMBER_MODIFICATION_FAILED:{
    code: "10306",
    msg: "号码修改失败",
    data: null,
  },
  NUMBER_REMOVE_ERROR:{
    code: "10307",
    msg: "号码下架失败",
    data: null,
  },
  NUMBER_RESTORE_ERROR:{
    code: "10308",
    msg: "号码上架失败",
    data: null,
  },
  NUMBER_GET_ERROR:{
    code: "10309",
    msg: "号码获取异常",
    data: null,
  },
};
